package com.cloudrui.service.wechat.neteasy;

import java.util.HashMap;
import java.util.Map;
import java.util.Random;

public class GiftService {
	
	static Random r = new Random();
	public static final String six = "小饭直播不容易兄弟们，刷波666。";
	
	public static final String smallGift = "小饭直播不容易。兄弟们，小礼物走一走。活到99";
	
	public static final String question = "有老板刷龙虾吗？";
	
	public static final String tangshi1 = "白日依山尽，黄河入海流。" + 
			"欲穷千里目，更上一层楼。";
	
	public static final String tangshi2 = "红豆生南国，春来发几枝。" + 
			"愿君多采撷，此物最相思。";
	
	public static final String tangshi3 = "太乙近天都，连山接海隅。" + 
			"白云回望合，青霭入看无。" + 
			"分野中峰变，阴晴众壑殊。" + 
			"欲投人处宿，隔水问樵夫。";
	
	public static final String tangshi4 = "“你以后只要负责貌美如花”" + 
			"“而我负责插花”";
	
	public static final String tangshi5 = "再牛b的肖邦，也弹不出老子的悲伤！";

	public static final String tangshi6 = "我希望有一天我能用鼠标双击我的钱包，然后选中一张100元，按住“ctrl－c”接着不停的“ctrl－v”";

	public static final String tangshi7 = "新来的宝贝们没点关注的请点一下关注，点关注，不迷路。";
	
	public static final String tangshi8 = "听说关注我的都发财了，男生越来越帅，女生，越来越漂亮了。";
	
	
	public static Map<String,String> textMap = new HashMap<String,String>();
	
	public static void  init() {
		textMap.put("0",tangshi6);
		textMap.put("1",six);
		textMap.put("2",smallGift);
		textMap.put("3",question);
		textMap.put("4",tangshi1);
		textMap.put("5",tangshi2);
		textMap.put("6",tangshi3);
		textMap.put("7",tangshi4);
		textMap.put("8",tangshi5);
		textMap.put("9",tangshi7);
		textMap.put("10",tangshi8);
		
		
	}
	
	public static final String getText() {
		if(textMap.isEmpty()) {
			init();
		}
		int key = r.nextInt(textMap.size());
		return textMap.get(key+"");
	}
}
